﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Citi.HeadCount.Domain.Repository
{
    public class TypeRuleRepository : RepositoryBase<TypeRuleResult>
    {
        public List<TypeRuleResult> GetRulesByResultId(int ruleResultId)
        {
            return GetAll().Where(x => x.RuleResultId == ruleResultId).ToList();
        }
    }
}
